projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0a9ba
)
x86: Fix an inverted flags conversion in map_page_to_xen()
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 Nov 2008 11:48:11 +0000
(11:48 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 6 Nov 2008 11:48:11 +0000
(11:48 +0000)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm.c
b/xen/arch/x86/mm.c
index 6eceabe68ada1583ae06ac00a029ddc951ceee5f..f3b1fc8243c81b91c5895908a68fc2ba93c65490 100644
(file)
--- a/
xen/arch/x86/mm.c
+++ b/
xen/arch/x86/mm.c
@@
-4294,7
+4294,7
@@
int map_pages_to_xen(
{
if ( l3e_get_flags(ol3e) & _PAGE_GLOBAL )
flush_flags |= FLUSH_TLB_GLOBAL;
- if ( (l
1f_to_lN
f(l3e_get_flags(ol3e)) ^ flags) &
+ if ( (l
Nf_to_l1
f(l3e_get_flags(ol3e)) ^ flags) &
PAGE_CACHE_ATTRS )
flush_flags |= FLUSH_CACHE;
flush_area(virt, flush_flags);